﻿#include "networkuse.h"

NetworkUse::NetworkUse(QObject *parent)
    : QBaseEntity(parent)
{
}

QString NetworkUse::getName() const
{
    return name;
}

void NetworkUse::setName(const QString &value)
{
    name = value;
}

QString NetworkUse::getDescription() const
{
    return description;
}

void NetworkUse::setDescription(const QString &value)
{
    description = value;
}

QString NetworkUse::getMacAddress() const
{
    return macAddress;
}

void NetworkUse::setMacAddress(const QString &value)
{
    macAddress = value;
}

quint64 NetworkUse::getBytesReceived() const
{
    return bytesReceived;
}

void NetworkUse::setBytesReceived(quint64 value)
{
    bytesReceived = value;
}

quint64 NetworkUse::getBytesSent() const
{
    return bytesSent;
}

void NetworkUse::setBytesSent(quint64 value)
{
    bytesSent = value;
}

double NetworkUse::getDownloadRate() const
{
    return downloadRate;
}

void NetworkUse::setDownloadRate(double value)
{
    downloadRate = value;
}

double NetworkUse::getUploadRate() const
{
    return uploadRate;
}

void NetworkUse::setUploadRate(double value)
{
    uploadRate = value;
}

QDateTime NetworkUse::getTimestamp() const
{
    return timestamp;
}

void NetworkUse::setTimestamp(const QDateTime &value)
{
    timestamp = value;
}
